package com.pay.model.interface_parameter;

import com.pay.utils.validate.vali_annotation.BaseValidate;
import com.pay.utils.validate.vali_annotation.DoubleIllegal;
import com.pay.utils.validate.vali_annotation.RequireField;


/**
 * 微信退款
 *
 * @author MENG
 * @version 2019/2/21
 * @see
 */
public class WxPayRebateParam extends BaseValidate
{

    /**
     * 微信支付分配的公众账号ID（企业号corpid即为此appId）
     */
    @RequireField
    private String appId;

    /**
     * 微信支付分配的商户号
     */
    @RequireField
    private String mchId;

    /**
     * 微信APIKEY
     */
    @RequireField
    private String apiKey;

    /**
     * 订单号 唯一（应用程序中）
     */
    @RequireField
    private String orderNo;

    /**
     * 退款金额（应用程序中）
     */
    @RequireField
    @DoubleIllegal
    private String refundAmount;

    /**
     * 退款原因
     */
    private String refundReason;

    @RequireField
    @DoubleIllegal
    private String totalAmount;

    @RequireField
    private String sunOrderCode;

    public String getTotalAmount()
    {
        return totalAmount;
    }

    public void setTotalAmount(String totalAmount)
    {
        this.totalAmount = totalAmount;
    }

    public String getSunOrderCode()
    {
        return sunOrderCode;
    }

    public void setSunOrderCode(String sunOrderCode)
    {
        this.sunOrderCode = sunOrderCode;
    }

    public String getAppId()
    {
        return appId;
    }

    public void setAppId(String appId)
    {
        this.appId = appId;
    }

    public String getOrderNo()
    {
        return orderNo;
    }

    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getRefundAmount()
    {
        return refundAmount;
    }

    public void setRefundAmount(String refundAmount)
    {
        this.refundAmount = refundAmount;
    }

    public String getRefundReason()
    {
        return refundReason;
    }

    public void setRefundReason(String refundReason)
    {
        this.refundReason = refundReason;
    }

    public String getMchId()
    {
        return mchId;
    }

    public void setMchId(String mchId)
    {
        this.mchId = mchId;
    }

    public String getApiKey()
    {
        return apiKey;
    }

    public void setApiKey(String apiKey)
    {
        this.apiKey = apiKey;
    }
}
